#ifndef RANKLOGIN_H
#define RANKLOGIN_H

#include <QWidget>
#include <QString>
#include <QFile>
#include <QIcon>

#include "rankdialog.h"

namespace Ui {
class RankLogin;
}

class RankLogin : public QWidget
{
    Q_OBJECT

public:
    explicit RankLogin(int,QWidget *parent = 0);
    ~RankLogin();
    int score;

    int distance;

    QString name;

    QWidget* sf;
    QWidget* sf2;
    RankDialog* sf3;

    void setDistance(int dis);

private slots:
    void on_finishButton_clicked();

private:
    Ui::RankLogin *ui;

    QPoint p;
};

#endif // RANKLOGIN_H
